#include <iostream>
#include <vector>
using namespace std;

int findLengthOfLCIS(vector<int>& nums) {
    int ret = 1;
    for (int i = 0; i < nums.size(); )
    {
        int j = i + 1;
        while (j < nums.size() && nums[j] > nums[j - 1])
            ++j;
        ret = max(ret, j - i);
        i = j;
    }
    return ret;
}

int main()
{
    cout << findLengthOfLCIS({ 1,3,5,4,7 });
	return 0;
}